package com.tjmc.tiomsresource.service;


import com.tjmc.tiomscore.model.TiNel;
import com.tjmc.tiomscore.model.TiSubnet;
import com.tjmc.tiomscore.model.TranPtnHwNel;

import java.util.List;

public interface CMNelService extends CMSuperService<TranPtnHwNel> {

    void buildTiNelCoreToDB();

    void buildTiNelConvergenceToDB();

    void buildAllTiNelsToDB();

    void buildTiNelAccessToDB();

    TiSubnet getTiSubnetByTiNelNativename(String nativename);

    List<TiNel> getTiNelsByTiSubnet(TiSubnet tiSubnet, boolean onlyChildren);

    TiNel getTiNelByTiNelNativename(String nativename);

    List<TiSubnet> getTiSubnetsByTiNel(TiNel tiNel);

    void correctConvergenceNelSubnetId();
}
